package com.wlyuan.open.scanner.repository;

import com.wlyuan.open.scanner.domain.finance.relation.Finance;

import java.util.List;

/**
 * @author lijing
 * @description
 */
public interface FinanceBillRepository {

    /**
     * 获取信息
     *
     * @return
     */
    Finance getByUpOrDown(Long sourceId);

    /**
     * 保存
     *
     * @param billId
     * @param billType
     * @param tenantId
     * @param srcId
     */
    void save(Long billId, Integer billType, Long tenantId, Long srcId);

    void init();

    List<Long> getTime(String startTime, String endTime);

    List<Long> getTenantIdTime(Long tenantId, String startTime, String endTime);

    void initTime(String startTime, String endTime);
}
